package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * 文件上传
 *
 * @author luox
 */
@TableName(value = "glc_pub_file")
public class PubFile {

    @TableId(type = IdType.AUTO)
    private Long id; //主键

    @TableField(value = "operator_id")
    private Long operatorId; //操作人ID

    @TableField(value = "file_type")
    private int fileType; //文件类型

    @TableField(value = "subject")
    private String subject;  //主题

    @TableField(value = "prj_id")
    private Long prjId;  //关联项目

    @TableField(value = "path")
    private String path;  //路径

    @TableField(value = "create_time")
    private Date createTime;   //上传日期

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public int getFileType() {
        return fileType;
    }

    public void setFileType(int fileType) {
        this.fileType = fileType;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public Long getPrjId() {
        return prjId;
    }

    public void setPrjId(Long prjId) {
        this.prjId = prjId;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
